{foreach from=$structure item=object name="structureloop"}
{if $object.obj_id != $current_obj_id}
	<input type="checkbox" name="link_into[]" id="link_into[]" value="{$object.obj_id}" />	<a href="javascript:void(0);" onclick="{strip}{literal}
	
	xajax.request({
		ccdsfun:'ContentEditorLinkStructure',
		ccdsclass:'ccdsContentEditor'
	},
	{
		parameters:[{
			{/literal}
			obj_id:'{$object.obj_id}',
			current_obj_id:'{$current_obj_id}',
			project_id:'{$project_id}'
			{literal}
		}]
	}
	);
	{/literal}{/strip}">{$object.obj_name_name}</a><br />
	<div id="linkstructure_obj{$object.obj_id}_{$current_obj_id}" style="margin-left:8px"></div>
{/if}
{/foreach}
